<html>
<head>
<title>Classical regression test</title>
</head>
<body>
Test
<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
<script src="classical.js"></script>
<script>

Class('a', {
	'test':function(){ func(); },
	'func':function(){ console.log('base func'); }
});
Class('b', {
	'func':function(){ console.log('override func'); }
}, a);

var tc = new b();
tc.test(); // output should be "override func"


</script>
</body>
</html>